package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 简报模板对象 public_opinion_report
 * 
 * @author hwcazy
 * @date 2021-07-08
 */
public class PublicOpinionReport extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 简报编号 */
    private Long id;

    /** 报表名 */
    @Excel(name = "报表名")
    private String name;

    /** 模板名 */
    @Excel(name = "模板名")
    private String templateName;

    /** 用户编号 */
    @Excel(name = "用户编号")
    private Long userId;

    /** 创建者 */
    @Excel(name = "创建者")
    private String createName;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** pdf链接 */
    @Excel(name = "pdf链接")
    private String urlPdf;

    /** doc链接 */
    @Excel(name = "doc链接")
    private String urlWord;

    /** excel链接 */
    @Excel(name = "excel链接")
    private String urlExcel;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 部门编号 */
    @Excel(name = "部门编号")
    private Long deptId;

    /** 租户编码 */
    @Excel(name = "租户编码")
    private String tenantCode;

    /** 事件编号 */
    @Excel(name = "事件编号")
    private Long eventId;

    public Long getEventId() {
        return eventId;
    }

    public void setEventId(Long eventId) {
        this.eventId = eventId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getTenantCode() {
        return tenantCode;
    }

    public void setTenantCode(String tenantCode) {
        this.tenantCode = tenantCode;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setTemplateName(String templateName) 
    {
        this.templateName = templateName;
    }

    public String getTemplateName() 
    {
        return templateName;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setUrlPdf(String urlPdf) 
    {
        this.urlPdf = urlPdf;
    }

    public String getUrlPdf() 
    {
        return urlPdf;
    }
    public void setUrlWord(String urlWord) 
    {
        this.urlWord = urlWord;
    }

    public String getUrlWord() 
    {
        return urlWord;
    }
    public void setUrlExcel(String urlExcel) 
    {
        this.urlExcel = urlExcel;
    }

    public String getUrlExcel() 
    {
        return urlExcel;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("name", getName())
            .append("templateName", getTemplateName())
            .append("userId", getUserId())
            .append("status", getStatus())
            .append("updateTime", getUpdateTime())
            .append("urlPdf", getUrlPdf())
            .append("urlWord", getUrlWord())
            .append("urlExcel", getUrlExcel())
            .toString();
    }
}
